package com.yan.dao;

import com.yan.pojo.Student;

import java.util.List;

public interface StudentMapper {
    //增加一个学生
    int addStudent(Student student);
    //更新一个学生
    int updateStudent(Student student);
    Student queryStudentById(int id);
    //查询所有学生
    List<Student> queryStudent();
}
